package com.demo.util;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class ExcelData {
	private List<String> columnNameList;
	//每一行记录都是一个map，key为列名，值为单元格的值(同意按字符串处理)
	private List<Map<String, String>> columnValueList;

	public ExcelData() {
		columnNameList = new ArrayList<String>();
		columnValueList = new ArrayList<Map<String, String>>();
	}
	
	public ExcelData(List<String> columnNameList,List<Map<String, String>> columnValueList) {
		if (null != columnNameList) {
			this.columnNameList = columnNameList;
		}
		if (null != columnValueList) {
			this.columnValueList = columnValueList;
		}
	}

	public List<String> getColumnNameList() {
		return columnNameList;
	}

	public void setColumnNameList(List<String> columnNameList) {
		this.columnNameList = columnNameList;
	}

	public List<Map<String, String>> getColumnValueList() {
		return columnValueList;
	}

	public void setColumnValueList(List<Map<String, String>> columnValueList) {
		this.columnValueList = columnValueList;
	}

}
